package com.srwl.mytx.activity;

import android.os.Bundle;

import androidx.fragment.app.FragmentTransaction;

import com.srwl.mytx.R;
import com.srwl.mytx.fragment.AdvertisementRecordFragment;

public class AdvertisementRecordActivity extends BaseActivity {
    private AdvertisementRecordFragment recordFragment;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_advertisement_record);
        showBuyOrderFragment();
    }


    private void showBuyOrderFragment() {

        recordFragment = AdvertisementRecordFragment.newInstance();
        FragmentTransaction fragmentTransaction = getSupportFragmentManager().beginTransaction();
        fragmentTransaction.add(R.id.record_fragment_container, recordFragment);
        fragmentTransaction.show(recordFragment).commit();
    }


}
